package com.zsz.springboot.service.impl;

import com.zsz.springboot.mapper.StudentMapper;
import com.zsz.springboot.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public Integer queryStudentCount() {

        Integer studentCount=studentMapper.queryStudentCount();
        return studentCount;
    }
}
